
//顶部六个浮窗
let oInput=document.querySelector(".input")
let container1=document.querySelector(".container1")
let navleft2=document.querySelector(".navleft-2")
let ahover=document.querySelectorAll(".nav-hover")
console.log(ahover)
// 遍历各个a标签，鼠标移入当前a标签上当前对应的悬浮菜单出现，其他的隐藏
let navhide=document.querySelector(".navleft-2").children
console.log(navhide)
// console.log(navhide)
let borders=document.querySelectorAll(".border")
for(let i=0;i<ahover.length;i++){
   ahover[i].onmousemove=function(){
   
            for(let j=0;j<navhide.length;j++){
       
              navhide[j].style.display="none"
              borders[j].style.borderBottom="0"
             }
             oInput.style.display="none"
             container1.style.display="none"
            navleft2.style.display="block"
            navleft2.style.backgroundColor="white"
       borders[i].style.borderBottom="2px solid #efd8d2"
       navhide[i].style.display="block"
    //    navhide[i].style.zIndex=9999
       navhide[i].style.backGroundColor="white"



}
}